<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/util.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var getshop_itemJsonListUrl = "/shop_item/getJsonList/";
$(document).ready(function() {
	startMasker();
	$.ajax({
		type: "GET",
		url: getshop_itemJsonListUrl,
		data: "",
		dataType: "json",
		success: function(data) {
			if(data.code > 0) {
				var resultList = data.result;
				var renderHtml = "[<br/>";
				for(var i=0;i<resultList.length;i++) {
					var result = resultList[i];
					$("#shop_itemId").html(result.shop_itemId);
					$("#deployId").html(result.deployId);
					$("#tabId").html(result.tabId);					$("#itemId").html(result.itemId);					$("#coinPrice").html(result.coinPrice);					$("#silverPrice").html(result.silverPrice);					$("#status").html(result.status);					$("#isDiscount").html(result.isDiscount);					$("#coinPirceDiscount").html(result.coinPirceDiscount);					$("#silverPriceDiscount").html(result.silverPriceDiscount);					$("#levelLimit").html(result.levelLimit);					$("#vipLevelLimit").html(result.vipLevelLimit);					$("#rank").html(result.rank);					$("#shop_itemres").html(result.shop_itemres);										
					renderHtml = renderHtml + $("#tpl_shop_item").html();
					if(i < resultList.length - 1) {
						renderHtml = renderHtml + ","
					}
				}
				renderHtml = renderHtml + "]<br/>";
				$("#shop_item_info").html(renderHtml);
				stopMasker();
			}else {
				errDialog(data.message);
			}
		}
});
});

</script>
<body>
<div class="json" id="shop_item_info">

</div>
<div style="display:none" id="tpl_shop_item">
<div class="json">
{<br/>
<span class="jsonkey">shop_itemId:</span><span id="shop_itemId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">tabId:</span><span id="tabId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">itemId:</span><span id="itemId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">coinPrice:</span><span id="coinPrice" class="jsonvalue"></span>,<br/>
<span class="jsonkey">silverPrice:</span><span id="silverPrice" class="jsonvalue"></span>,<br/>
<span class="jsonkey">status:</span><span id="status" class="jsonvalue"></span>,<br/>
<span class="jsonkey">isDiscount:</span><span id="isDiscount" class="jsonvalue"></span>,<br/>
<span class="jsonkey">coinPirceDiscount:</span><span id="coinPirceDiscount" class="jsonvalue"></span>,<br/>
<span class="jsonkey">silverPriceDiscount:</span><span id="silverPriceDiscount" class="jsonvalue"></span>,<br/>
<span class="jsonkey">levelLimit:</span><span id="levelLimit" class="jsonvalue"></span>,<br/>
<span class="jsonkey">vipLevelLimit:</span><span id="vipLevelLimit" class="jsonvalue"></span>,<br/>
<span class="jsonkey">rank:</span><span id="rank" class="jsonvalue"></span>,<br/>
<span class="jsonkey">shop_itemres:</span><span id="shop_itemres" class="jsonvalue"></span><br/>
</br>
}
</div>
</div>
<div class="maskerContent" id="framemasker" name="framemasker">
	<iframe class="maskframe" src="/pages/core/Masker.html"></iframe>
</div>
</body>